package cu.tuling.opensource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Main {
    public static void main(String[] args) {
        // Log4J
        /*Logger log4J = Logger.getLogger(Main.class);
        log4J.info("log4J only");*/

        // sl4j门户 + log4j
        Logger slf4j = LoggerFactory.getLogger(Main.class);
        System.out.println(slf4j.getClass());
        slf4j.info("Slf4j + log4j");
    }
}
